<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery-1.9.1.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("#writeBtn").click(function(){
			//alert("test");
			$("#writeNoticeForm").submit();
		});
	});
</script>
</head>
<body>
<h1><font style="font-style: normal;">공지사항 쓰기</font></h1>
<center>
<form action="writeNotice.do" method="post" id="writeNoticeForm" enctype="multipart/form-data">
<table>
<tr>
	<td><font size="2">제목:</font></td>
	<td><font size="2"><input type="text" name="title" id="title"></font></td>
</tr>
<tr>
	<td><font size="2">작성자:</font></td>
	<td><font size="2"><input type="text" name="writer" id="writer"></font></td>
</tr>
<tr>
	<td><font size="2">파일 업로드:</font></td>
	<td><font size="2"><input type="file" name="uploadFile" value="파일선택"></font></td>
</tr>
<tr>
	<td colspan="2"><font size="2"><textarea rows="20" cols="50"  id="content" name="content"></textarea></font></td>
</tr>
<tr>
	<td colspan="2" align="center"><br><input type="button" id="writeBtn" value="글쓰기"></td>
</tr>
</table>
</form>
</center>
</body>
</html>